![]() |
UseThemeFont |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Sets the font of the current graphics port to one of the current theme’s system fonts.
OSStatus UseThemeFont ( ThemeFontID inFontID, ScriptCode inScript );
A value of type ThemeFontID. Pass a constant specifying the kind of font (that is, the current large, small, or small emphasized system fonts or the views font) to be applied to the current port. See
A value of type ScriptCode. Pass a script code specifying the script system for which you wish to set the current font; you may pass the metascript code smSystemScript to specify the system script.
A result code.
Your application can call the UseThemeFont function to draw text in one of the current theme’s system fonts.
Also see the function GetThemeFont.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)